package com.dao.mapper;

import com.entity.Category;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;


/**
 * @Author: sijunqiang
 * @Date: 2020/5/16 18:01
 * @Description:
 */

public interface CategoryMapper extends BaseMapper<Category> {


    List<Category> selectListByPid(Long pid);

     /**
      * 根据品牌的id  查询分类的信息集合
      * */
    List<Category> queryByBrandId(@Param("brandId") Long brandId);
}
